package com.meitianhui.convenitenbuy.module.mine.model;


import android.os.Parcel;
import android.os.Parcelable;

import com.meitianhui.convenitenbuy.base.BaseResponse;

/**
 * 用户资产
 */
public class UserAsset extends BaseResponse implements Parcelable {


    /**
     * cash_balance : 0
     * voucher_balance : 10
     * bonus : 0
     * experience : 0
     */
    private String cash_balance;
    private String voucher_balance;
    private String bonus;
    private String experience;
    private String gold;

    private String cash_froze;

    public String getCash_froze() {
        return cash_froze;
    }

    public void setCash_froze(String cash_froze) {
        this.cash_froze = cash_froze;
    }


    public String getGold() {
        return gold;
    }

    public void setGold(String gold) {
        this.gold = gold;
    }

    public void setCash_balance(String cash_balance) {
        this.cash_balance = cash_balance;
    }

    public void setVoucher_balance(String voucher_balance) {
        this.voucher_balance = voucher_balance;
    }

    public void setBonus(String bonus) {
        this.bonus = bonus;
    }

    public void setExperience(String experience) {
        this.experience = experience;
    }

    public String getCash_balance() {
        return cash_balance;
    }

    public String getVoucher_balance() {
        return voucher_balance;
    }

    public String getBonus() {
        return bonus;
    }

    public String getExperience() {
        return experience;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.cash_balance);
        dest.writeString(this.voucher_balance);
        dest.writeString(this.bonus);
        dest.writeString(this.experience);
        dest.writeString(this.gold);
        dest.writeString(this.cash_froze);
    }

    public UserAsset() {
    }

    protected UserAsset(Parcel in) {
        this.cash_balance = in.readString();
        this.voucher_balance = in.readString();
        this.bonus = in.readString();
        this.experience = in.readString();
        this.gold = in.readString();
        this.cash_froze = in.readString();
    }

    public static final Creator<UserAsset> CREATOR = new Creator<UserAsset>() {
        @Override
        public UserAsset createFromParcel(Parcel source) {
            return new UserAsset(source);
        }

        @Override
        public UserAsset[] newArray(int size) {
            return new UserAsset[size];
        }
    };
}
